package com.xk.timesignature.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 登录控制器
 *
 * @author 空白
 * @date 2022/01/07
 */
@Controller
public class LoginController {

    @RequestMapping("/toMain")
    public String toMain() {

        return "redirect:/main.html";
    }

    @RequestMapping("/toError")
    public String toError() {

        return "redirect:/error.html";
    }

    @RequestMapping("/register")
    public String Register() {

        return "redirect:/register.html";
    }

}
